package com.yfapp.platform.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yfapp.platform.dao.CustDao;
import com.yfapp.platform.entitytest.TCustId;
import com.yfapp.platform.service.CustService;
import com.yfapp.platform.tools.Page;
import com.yfapp.platform.tools.Pagination;
@Service("custService")
public class CustServiceImpl implements CustService {

	@Autowired
	private CustDao custDao;
	
	public List<TCustId> getCustList() {
		return custDao.getCustList();
	}

	public <T> Pagination<T> getCustQuery(Page page) {
		return custDao.getCustQuery(page);
	}

	public TCustId getCustByIDcard(String idcard) {
		return custDao.getCustByIDcard(idcard);
	}

}
